package com.demo.service.impl;

import com.alibaba.fastjson.JSON;
import com.star.pojo.dto.LogContent;
import com.star.service.IRecordLog;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 日志记录
 *
 * @author: star.zhu
 * @date: 2020-07-31
 */
@Slf4j
@Service
public class RecordLogImpl implements IRecordLog {

    @Override
    public void saveLog(LogContent recordLog) {
        log.info("记录日志:{}", recordLog.content);
        log.info("记录日志:{}", recordLog.toString());
    }

}

